// samsting : this file is auto create.

#include "Cdn/2014-11-11/DescribeCdnServiceResponse.h"

namespace aliyun { namespace Cdn {

DescribeCdnServiceResponse::DescribeCdnServiceResponse() {
}

const string& DescribeCdnServiceResponse::LockReason::GetLockReason(void) const {
  return LockReason_;
}

const std::vector<DescribeCdnServiceResponse::LockReason>& DescribeCdnServiceResponse::GetOperationLocks(void) const {
  return OperationLocks_;
}

const string& DescribeCdnServiceResponse::GetInternetChargeType(void) const {
  return InternetChargeType_;
}

const string& DescribeCdnServiceResponse::GetOpeningTime(void) const {
  return OpeningTime_;
}

const string& DescribeCdnServiceResponse::GetChangingChargeType(void) const {
  return ChangingChargeType_;
}

const string& DescribeCdnServiceResponse::GetChangingAffectTime(void) const {
  return ChangingAffectTime_;
}

const char* DescribeCdnServiceResponse::BaseKey(void) {
  return "DescribeCdnServiceResponse";
}

void DescribeCdnServiceResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int OperationLocks__length = 0;
  UnmarshallerInt(OperationLocks__length, response_map, "DescribeCdnServiceResponse.OperationLocks.Length");
  if(OperationLocks__length >= 0) {
    OperationLocks_.resize(OperationLocks__length);
    for(int i1 = 0; i1 < OperationLocks__length; i1++) {
      UnmarshallerString(OperationLocks_[i1].LockReason_, response_map, "DescribeCdnServiceResponse.OperationLocks["+string_ValueOfInt(i1)+"].LockReason");
    } // for(int i1 = 0; i1 < OperationLocks__length; i1++) {
  } // if(OperationLocks__length >= 0) {

  UnmarshallerString(InternetChargeType_, response_map, "DescribeCdnServiceResponse.InternetChargeType");
  UnmarshallerString(OpeningTime_, response_map, "DescribeCdnServiceResponse.OpeningTime");
  UnmarshallerString(ChangingChargeType_, response_map, "DescribeCdnServiceResponse.ChangingChargeType");
  UnmarshallerString(ChangingAffectTime_, response_map, "DescribeCdnServiceResponse.ChangingAffectTime");
}


} } // namespace aliyun { namespace Cdn {

// end of file 
